const navigateToTool = (tool) => {
  // 构造参数字符串
  const query = `id=${tool.id}&name=${encodeURIComponent(tool.name)}&icon=${encodeURIComponent(tool.icon)}&color=${encodeURIComponent(tool.color)}`;

  uni.navigateTo({
    url: `${tool.path}?${query}`
  });
};